﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PdfPrint.aspx.cs" Inherits="PdfPrint" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="uc1" TagName="googlemap" Src="~/UserControl/Gmap.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <%--   <link href="CSS/default.css" rel="stylesheet" type="text/css" />--%>
    <style type="text/css">
        p
        {
            padding: 0;
            margin: 0;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div id="printcontent" runat="server">
        <div>
            <table width="100%" border="0">
                <tr>
                    <td colspan="4">
                        <div style="width: 100%;">
                            <table width="100%">
                                <tr>
                                    <td style="font-family: Arial; font-size: 10pt;">
                                        Voucher Id:
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: Arial; font-size: 16pt; font-weight: bold; color:Black">
                                        <asp:Literal ID="lblVoucherId" runat="server"></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: Arial; font-size: 10pt;">
                                        <asp:Literal ID="lblVendorName" runat="server"></asp:Literal>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td colspan="5" style="text-align: center;">
                        <img id="imgLogo" runat="server" src="/Images/logo.png" width="175" height="80" />
                    </td>
                    <td colspan="6" style="text-align: right;">
                        <div style="width: 100%;">
                            <table width="100%">
                                <tr>
                                    <td style="font-family: Arial; font-size: 10pt;">
                                        Name Of Purchaser:
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: Arial; font-size: 16pt; font-weight: bold; text-transform:capitalize">
                                        <asp:Literal ID="lblPurchaser" runat="server"></asp:Literal>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: Arial; font-size: 10pt;">
                                        <asp:Literal ID="lblPurchaseTime" runat="server"></asp:Literal>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                </tr>
            </table>
            <br />
            <table width="100%" border="0">
                <tr>
                    <td align="center" valign="top">
                        <br />
                        <br />
                        <img runat="server" id="imgDeal" width="120" height="120" src="/Images/product.jpg" />
                    </td>
                    <td colspan="3">
                        <div style="font-family: Arial; font-size: 16pt; font-weight: bold; padding-bottom: 10pt;
                            border-bottom: solid 1pt #ccc;" id="divContent" runat="server">
                            <asp:Literal ID="lblDealTitle" runat="server"></asp:Literal>
                        </div>
                        <br />
                        <div style="font-family: Arial; font-size: 12pt; font-weight: bold; padding-top: 10pt; color: Black;">
                            DETAILS:
                        </div>
                        <div style="font-family: Arial; font-size: 10pt; padding-bottom: 10pt; border-bottom: solid 1pt #ccc;">
                            <asp:Literal ID="lblFootprint" runat="server"></asp:Literal>
                        </div>
                       <br />
                        <img runat="server" id="imgLine1" src="~/Images/line.png" Width="10000" height="2" style="padding-top:10px" /> 

                        <div style="font-family: Arial; font-size: 12pt; font-weight: bold; padding-top: 10pt; color: Black;">
                            BUSINESS INFO:
                        </div>
                        <div style="font-family: Arial; font-size: 10pt;">
                            <asp:Literal ID="lblCompanyInfo" runat="server"></asp:Literal>
                        </div>
                       
                       <div style="font-family: Arial; font-size: 11pt; padding-bottom: 10pt; border-bottom: solid 1pt #ccc;">
                            <asp:Label ID="lblVendor" runat="server"></asp:Label>
                            <br>
                            <asp:Label ID="lblWebSite" runat="server"></asp:Label>
                            <%--<br />
                            <asp:Label ID="lblGoogleMap" runat="server" Text="Map:"></asp:Label>
                            <br />
                            <div style="cursor: pointer;">
                                <uc1:googlemap ID="ucGoogleMap" runat="server" />
                            </div>--%>
                        </div>
                        <br />
                            <img runat="server" id="imgLine2" src="~/Images/line.png" Width="10000" height="2" style="padding-top:10px"/> 
                            <div style="font-family: Arial; font-size: 12pt; font-weight: bold; padding-top: 10pt; color: Black;">
                            NOTES:
                        </div>
                        <div style="font-family: Arial; font-size: 10pt;">
                            Please make a reservation and mention this voucher. Bring this voucher and present
                            it to your server at the beginning of your meal.
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
